package com.example.hangzhou.welbeing.mytestdemoapp.designPatterns.CreatorModel;

import com.example.hangzhou.welbeing.mytestdemoapp.designPatterns.CreatorModel.Burger.ChickenBurger;
import com.example.hangzhou.welbeing.mytestdemoapp.designPatterns.CreatorModel.Burger.Coke;
import com.example.hangzhou.welbeing.mytestdemoapp.designPatterns.CreatorModel.Burger.Pepsi;
import com.example.hangzhou.welbeing.mytestdemoapp.designPatterns.CreatorModel.Burger.VegBurger;

/**
 * 杭州惟君医疗科技有限公司11
 * Created by 20433 on 2018/5/17
 *
 * @desc 东风山河绿，春已不折柳，繁花看不尽，处处惹人留
 * @desc 佛祖镇楼，bug辟容易
 */

public class MealBuilder {

    public Meal prepareVegMeal (){
        Meal meal = new Meal();
        meal.addItem(new VegBurger());
        meal.addItem(new Coke());
        return meal;
    }
    public Meal prepareNonVegMeal (){
        Meal meal = new Meal();
        meal.addItem(new ChickenBurger());
        meal.addItem(new Pepsi());
        return meal;
    }

}
